package com.bestsoft.flow.domain;

import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 追溯明细对象 flow_zs_dt
 * 
 * @author 王识宇
 * @date 2023-08-30
 */
public class FlowZsDt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 二维码ID */
    private String qcode;

    /** 批号 */
    private String batchcode;

    /** 生产日期 */
    private String produceDate;

    /** 有效期 */
    private String validDate;

    /** 质检报告 */
    private String qualityReport;

    /** 发货人 */
    private String shipper;

    /** 运输单位 */
    private String transportUnit;

    /** 车辆信息 */
    private String vehicleInfo;

    /** 驾驶员信息 */
    @Excel(name = "驾驶员信息")
    private String driverInfo;

    /** 起运时间 */
    @Excel(name = "起运时间")
    private String startDatetime;

    /** 到达时间 */
    @Excel(name = "到达时间")
    private String endDatetime;

    /** 医院收货人 */
    @Excel(name = "医院收货人")
    private String hospitalShr;

    /** 收货时间 */
    @Excel(name = "收货时间")
    private String shdate;

    /** 验收情况 */
    @Excel(name = "验收情况")
    private String ysSituation;

    /** 用户订单明细信息 */
    private FlowOrderMt flowOrderMtList;
//    /** 商品资料 */
//    private FlowGoodsDoc1 flowGoodsDocList;
    /** 用户订单明细信息 */
    private FlowOrderDt flowOrderDtList;

    /** 数量 */
    private BigDecimal num;
    /** 放射性活度 */
    private String ufGoodsrat;
    /** 标示时间 */
    private String ufFlagtime;

    /** 驾驶员联系方式 */
    @Excel(name = "驾驶员联系方式")
    private String drivercontact;

    /** 验收员联系方式 */
    @Excel(name = "验收员联系方式")
    private String yscontact;

    /** 合格 */
    @Excel(name = "合格")
    private String qualified;

    /** 不合格 */
    @Excel(name = "不合格")
    private String unqualified;



    public String getQualified() {
        return qualified;
    }

    public void setQualified(String qualified) {
        this.qualified = qualified;
    }

    public String getUnqualified() {
        return unqualified;
    }

    public void setUnqualified(String unqualified) {
        this.unqualified = unqualified;
    }

    public String getDrivercontact() {
        return drivercontact;
    }

    public void setDrivercontact(String drivercontact) {
        this.drivercontact = drivercontact;
    }

    public String getYscontact() {
        return yscontact;
    }

    public void setYscontact(String yscontact) {
        this.yscontact = yscontact;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public String getUfGoodsrat() {
        return ufGoodsrat;
    }

    public void setUfGoodsrat(String ufGoodsrat) {
        this.ufGoodsrat = ufGoodsrat;
    }

    public String getUfFlagtime() {
        return ufFlagtime;
    }

    public void setUfFlagtime(String ufFlagtime) {
        this.ufFlagtime = ufFlagtime;
    }

    public void setFlowOrderDtList(FlowOrderDt flowOrderDtList) {
        this.flowOrderDtList = flowOrderDtList;
    }

    public FlowOrderDt getFlowOrderDtList() {
        return flowOrderDtList;
    }

    public FlowOrderMt getFlowOrderMtList() {
        return flowOrderMtList;
    }

    public void setFlowOrderMtList(FlowOrderMt flowOrderMtList) {
        this.flowOrderMtList = flowOrderMtList;
    }

//    public void setFlowGoodsDocList(FlowGoodsDoc1 flowGoodsDocList) {
//        this.flowGoodsDocList = flowGoodsDocList;
//    }
//
//    public FlowGoodsDoc1 getFlowGoodsDocList() {
//        return flowGoodsDocList;
//    }

    public void setQcode(String qcode)
    {
        this.qcode = qcode;
    }

    public String getQcode() 
    {
        return qcode;
    }
    public void setBatchcode(String batchcode) 
    {
        this.batchcode = batchcode;
    }

    public String getBatchcode() 
    {
        return batchcode;
    }
    public void setProduceDate(String produceDate) 
    {
        this.produceDate = produceDate;
    }

    public String getProduceDate() 
    {
        return produceDate;
    }
    public void setValidDate(String validDate) 
    {
        this.validDate = validDate;
    }

    public String getValidDate() 
    {
        return validDate;
    }
    public void setQualityReport(String qualityReport) 
    {
        this.qualityReport = qualityReport;
    }

    public String getQualityReport() 
    {
        return qualityReport;
    }
    public void setShipper(String shipper) 
    {
        this.shipper = shipper;
    }

    public String getShipper() 
    {
        return shipper;
    }
    public void setTransportUnit(String transportUnit) 
    {
        this.transportUnit = transportUnit;
    }

    public String getTransportUnit() 
    {
        return transportUnit;
    }
    public void setVehicleInfo(String vehicleInfo) 
    {
        this.vehicleInfo = vehicleInfo;
    }

    public String getVehicleInfo() 
    {
        return vehicleInfo;
    }
    public void setDriverInfo(String driverInfo) 
    {
        this.driverInfo = driverInfo;
    }

    public String getDriverInfo() 
    {
        return driverInfo;
    }
    public void setStartDatetime(String startDatetime) 
    {
        this.startDatetime = startDatetime;
    }

    public String getStartDatetime() 
    {
        return startDatetime;
    }
    public void setEndDatetime(String endDatetime) 
    {
        this.endDatetime = endDatetime;
    }

    public String getEndDatetime() 
    {
        return endDatetime;
    }
    public void setHospitalShr(String hospitalShr) 
    {
        this.hospitalShr = hospitalShr;
    }

    public String getHospitalShr() 
    {
        return hospitalShr;
    }
    public void setShdate(String shdate) 
    {
        this.shdate = shdate;
    }

    public String getShdate() 
    {
        return shdate;
    }
    public void setYsSituation(String ysSituation) 
    {
        this.ysSituation = ysSituation;
    }

    public String getYsSituation() 
    {
        return ysSituation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("qcode", getQcode())
            .append("batchcode", getBatchcode())
            .append("produceDate", getProduceDate())
            .append("validDate", getValidDate())
            .append("qualityReport", getQualityReport())
            .append("shipper", getShipper())
            .append("transportUnit", getTransportUnit())
            .append("vehicleInfo", getVehicleInfo())
            .append("driverInfo", getDriverInfo())
            .append("startDatetime", getStartDatetime())
            .append("endDatetime", getEndDatetime())
            .append("hospitalShr", getHospitalShr())
            .append("shdate", getShdate())
            .append("ysSituation", getYsSituation())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("flowOrderMtList", getFlowOrderMtList())
//            .append("flowGoodsDocList", getFlowGoodsDocList())
            .append("flowOrderDtList", getFlowOrderDtList())
                .append("num", getNum())
                .append("ufFlagtime", getUfFlagtime())
                .append("ufGoodsrat", getUfGoodsrat())
                .append("drivercontact", getDrivercontact())
                .append("yscontact", getYscontact())
                .append("qualified", getQualified())
                .append("unqualified", getUnqualified())
                .toString();
    }
}
